home *** CD-ROM | disk | FTP | other *** search
- BOXCON is a menu box creation program that will write a GFA BASIC
- procedure to disk which you can merge into your own program.
- All you have to do is make a Gosub call to that procedure.
- This new version (2.0) will allow you to have several procedures in the
- same program. When you run BOXCON, it will ask you MAIN or HOST.
- Your first procedure in your program must be the Main and any others
- will be your host. When you make a host, it will ask you for the name
- of the Main procedure. You have to supply this so the host can access it.
- Note that you have to make a gosub call to your Main procedure first.
- If you want to clear the screen, just type CLS before you call your
- procedure.
-
- Also in version 2.0, you have the option to print out or display
- your variables your procedure will return. It uses the variable
- Choice%(n). If it is set to one, that means that box was selected.
- The name of boxes that you selected are also stored in the variable
- array Tx$(n). The size of the array is contained in the variable
- max%.
-
- When running BOXCON.PRG you have different control codes you can
- define your text and boxes with. CTRL G will set the grouping of
- your boxes. It will display the box's text and you will see
-
- Group?
- It is asking for which group you want to assign the box to.
- It can be any number you want it to be. Text you want in the same group must
- have the same number.
-
- Next it will ask
-
- Box Defaulted to ON?
- If you answer yes then that box will be preselected when the
- procedure is first called. After answering yes, it will not ask
- again for that group.
-
- Then it will ask
-
- Deselected if Last in group?
-
- If you answer No, that means if the one you try to deselect is the
- last one remaining in it's group then you will not be able to deselect it.
-
- CTRL T will allow you to change the text size. It will ask you
- for a number between 1 and 9. 1 is smallelst, 9 is biggest.
-
- CTRL E will let you set your exit boxes. An exit box will exit
- the procedure and you will have to make another gosub call.
- If you don't put an exit box in your procedure, you can use the right
- mouse button to exit the procedure.
- The variable choice% without the array extension contains the
- value of the exit box. If it was the 5th box created then it will
- return the value 5.
-
- Written by
- Ron Rabaut
- PSC Box 6191
- Eglin AFB, FL
- 32542
-
-
- Martin
- ə